package com.grape.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.grape.domain.Category;
import com.grape.dto.CategoryBudgetDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * 分类表 Mapper接口
 *
 * @author      putao
 * @email       2628279194@qq.com
 */
public interface CategoryMapper extends BaseMapper<Category> {

    List<CategoryBudgetDTO> statisticBudget(@Param("accountBookId") String accountBookId, @Param("firstDayOfMonth") String firstDayOfMonth, @Param("nextMonthFirstDay") String nextMonthFirstDay, @Param("userId") String userId);
}
